package com.example.medicinebox.data

import com.example.medicinebox.network.MbApiService
import com.example.medicinebox.network.MbClientService

interface AppContainer {
    val mbRepository: MbRepository
}

class DefaultAppContainer: AppContainer {
    private val mbService: MbApiService by lazy {
        MbClientService()
    }

    override val mbRepository: MbRepository by lazy {
        NetworkMbRepository(mbService)
    }
}
